package org.dbi.exceptions;

public class KeyAlreadyExistsException extends Exception{
	private static final long serialVersionUID = 4200345494098699177L;

	private String error;
	
	public KeyAlreadyExistsException(String key) {
		super("PrimaryKey " + key + " bestaat al");
		this.error = "PrimaryKey " + key + " bestaat al";
	}

	public String getMessage() {
		return error;
	}
}
